<%--
  Created by IntelliJ IDEA.
  User: Admin
  Date: 2022/10/19
  Time: 14:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<html>
<head>
   <%-- <base href="http://localhost:8080/demo/">--%>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/img/jiejie_logo_s.png">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/login.css">
    <title>杰杰电影</title>
    <script src="${pageContext.request.contextPath}/js/jquery-3.6.0.min.js"></script>
       <script>
           function getBasePath(){
               return '<%=basePath%>';
           }
       </script>
</head>
<body>
<div class="all">
    <div class="login-header">
        <a href="${pageContext.request.contextPath}/index.jsp" class="a1"><img class="login-logo" src="${pageContext.request.contextPath}/img/jiejie_logo.png" alt=""></a>
    </div>

    <div class="login-contanier">
        <div class="login-contanier-right">
            <div class="login-chosse">
                <button class="login-phone">账号密码登录</button>
                <i class="a">|</i>
                <button class="login-message">短信验证登录</button>
            </div>
            <!-- 密码登录 -->
            <div class="phone" >
                <input type="text" class="phone-name" id="name"  placeholder="请输入用户名"><br>
                <input type="text" class="phone-pwd" id="pwd"  placeholder="请输入密码"><br>
                <button class="login-btn">登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录</button>
                <div class="loading"><a href="regist.jsp">尚未注册账户，立即注册</a></div>
            </div>
            <!-- 验证码登录 -->
            <div class="message" >
                <input type="text" class="message-text" id="id" placeholder="请输入手机号"><br>
                <input type="text" class="message-yanzheng-text" id="pwdYanZheng" placeholder="请输入验证码"><br>
                <input id="loginCodeBtn" class="yanzheng-btn" value="点击获取" readonly>
                <div class="error">
                    <p id="loginfail1"></p>
                </div>
                <button class="loginCode-btn">登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录</button>
                <div class="loading"><a href="regist.jsp">尚未注册账户，立即注册</a></div>
            </div>
        </div>
    </div>
</div>


<script src="${pageContext.request.contextPath}/js/login.js"></script>
</body>
</html>
